﻿using System;

using Microsoft.Extensions.DependencyInjection;

namespace Utils.Services
{
    class LazyService<T> : Lazy<T>
    {
        public LazyService(IServiceProvider serviceProvider) : base(() => InjectionFactory.GetInstanceFormFactory<T>(serviceProvider, null))
        {

        }
    }
}
